<template>
    <h2>用户借款还款列表</h2>
    <BorrowInfoContent v-slot="item">
        <a href="#" @click="onUserRefundDetail(item.BM_Id)">用户还款明细</a>
    </BorrowInfoContent>
</template>

<script setup lang="ts">
import BorrowInfoContent from './BorrowInfoContent.vue';
import { useRouter } from 'vue-router';

const router = useRouter();

const onUserRefundDetail = (BM_Id: any) => {
    console.log(BM_Id);
    router.push({
        path: '/ManageBorrowRefundDetail',
        query: { BM_Id: BM_Id }
    })
}
</script>